home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7266 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: linus.mitre.org!mbunix!costello
  2. From: costello@mbunix.mitre.org (Roger L Costello)
  3. Newsgroups: comp.lang.c++
  4. Subject: __beginthreadex error
  5. Date: 21 Feb 1996 13:59:41 GMT
  6. Organization: The MITRE Corporation, Bedford Mass.
  7. Distribution: usa
  8. Message-ID: <4gf8gd$6r9@linus.mitre.org>
  9. NNTP-Posting-Host: mbunix.mitre.org
  10.  
  11. Hi Folks,
  12.     I am new to MS VC++ so bear with me.  I am writing a simple
  13. console application.  I am also trying to learn MFC so I  have a
  14. program that uses a couple of MFC classes (CFrameWnd and CMainWIndow).
  15.  
  16.    The problem is that when I try to build the program I get the
  17. following error:
  18.  
  19. nafxcwd.lib (thrdcore.obj): error LNK2001: unresolved external symbol
  20.     "__beginthreadex"
  21.  
  22. I also get the error:
  23.  
  24. nafxcwd.lib (thrdcore.obj): error LNK2001: unresolved external symbol
  25.     "__endthreadex"
  26.  
  27. Apparently I need to include some file.  What file?
  28.  
  29. In general, can I use MFC in console applications?  Is there some
  30. way of setting flags during a build?
  31.  
  32. Note:  I am running MS VC++ 2.0 on NT 3.5.1
  33.  
  34. Thanks for the help.  /Roger
  35.